home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / challenge / 12.09-Sep96 / Testcode96.09R1.sit.hqx / Testcode96.09R1 / 4 MiscByteCodes / MiscByteCodes.class.dmp < prev    next >
Text File  |  1996-08-20  |  16KB  |  406 lines

  1. magic = xCAFEBABE (should be 0xCAFEBABE)
  2. minor version = 3
  3. major version = 45
  4. constant_pool_count = 80
  5. [1] CONSTANT_String            string_index = 43
  6. [2] CONSTANT_Class            name_index = 56
  7. [3] CONSTANT_Class            name_index = 36
  8. [4] CONSTANT_Class            name_index = 39
  9. [5] CONSTANT_Class            name_index = 30
  10. [6] CONSTANT_Class            name_index = 35
  11. [7] CONSTANT_Class            name_index = 72
  12. [8] CONSTANT_Methodref            class_index = 3, name_and_type_index = 24
  13. [9] CONSTANT_Methodref            class_index = 3, name_and_type_index = 23
  14. [10] CONSTANT_Fieldref            class_index = 5, name_and_type_index = 20
  15. [11] CONSTANT_Fieldref            class_index = 4, name_and_type_index = 21
  16. [12] CONSTANT_Methodref            class_index = 7, name_and_type_index = 19
  17. [13] CONSTANT_Methodref            class_index = 6, name_and_type_index = 24
  18. [14] CONSTANT_Methodref            class_index = 2, name_and_type_index = 18
  19. [15] CONSTANT_Methodref            class_index = 4, name_and_type_index = 25
  20. [16] CONSTANT_Methodref            class_index = 3, name_and_type_index = 26
  21. [17] CONSTANT_Methodref            class_index = 4, name_and_type_index = 22
  22. [18] CONSTANT_NameAndType            name_index = 55, signature_index = 61
  23. [19] CONSTANT_NameAndType            name_index = 53, signature_index = 34
  24. [20] CONSTANT_NameAndType            name_index = 46, signature_index = 47
  25. [21] CONSTANT_NameAndType            name_index = 79, signature_index = 54
  26. [22] CONSTANT_NameAndType            name_index = 71, signature_index = 44
  27. [23] CONSTANT_NameAndType            name_index = 40, signature_index = 31
  28. [24] CONSTANT_NameAndType            name_index = 77, signature_index = 41
  29. [25] CONSTANT_NameAndType            name_index = 78, signature_index = 44
  30. [26] CONSTANT_NameAndType            name_index = 55, signature_index = 38
  31. [27] CONSTANT_Utf8            length =  15 'LineNumberTable'
  32. [28] CONSTANT_Utf8            length =  13 'ConstantValue'
  33. [29] CONSTANT_Utf8            length =   5 'start'
  34. [30] CONSTANT_Utf8            length =  16 'java/lang/System'
  35. [31] CONSTANT_Utf8            length =  44 '(Ljava/lang/String;)Ljava/lang/StringBuffer;'
  36. [32] CONSTANT_Utf8            length =  10 'Exceptions'
  37. [33] CONSTANT_Utf8            length =  10 'SourceFile'
  38. [34] CONSTANT_Utf8            length =  21 '(Ljava/lang/String;)V'
  39. [35] CONSTANT_Utf8            length =  18 'java/applet/Applet'
  40. [36] CONSTANT_Utf8            length =  22 'java/lang/StringBuffer'
  41. [37] CONSTANT_Utf8            length =   6 'result'
  42. [38] CONSTANT_Utf8            length =  20 '()Ljava/lang/String;'
  43. [39] CONSTANT_Utf8            length =  13 'MiscByteCodes'
  44. [40] CONSTANT_Utf8            length =   6 'append'
  45. [41] CONSTANT_Utf8            length =   3 '()V'
  46. [42] CONSTANT_Utf8            length =   4 'this'
  47. [43] CONSTANT_Utf8            length =  18 'Correct result is '
  48. [44] CONSTANT_Utf8            length =   3 '()I'
  49. [45] CONSTANT_Utf8            length =  18 'MiscByteCodes.java'
  50. [46] CONSTANT_Utf8            length =   3 'out'
  51. [47] CONSTANT_Utf8            length =  21 'Ljava/io/PrintStream;'
  52. [48] CONSTANT_Utf8            length =   1 'S'
  53. [49] CONSTANT_Utf8            length =   2 'i4'
  54. [50] CONSTANT_Utf8            length =   2 'i3'
  55. [51] CONSTANT_Utf8            length =   2 'i2'
  56. [52] CONSTANT_Utf8            length =   2 'i1'
  57. [53] CONSTANT_Utf8            length =   7 'println'
  58. [54] CONSTANT_Utf8            length =   1 'I'
  59. [55] CONSTANT_Utf8            length =   8 'toString'
  60. [56] CONSTANT_Utf8            length =  17 'java/lang/Integer'
  61. [57] CONSTANT_Utf8            length =   1 'C'
  62. [58] CONSTANT_Utf8            length =   1 'B'
  63. [59] CONSTANT_Utf8            length =   9 'returnVal'
  64. [60] CONSTANT_Utf8            length =   2 'c3'
  65. [61] CONSTANT_Utf8            length =  21 '(I)Ljava/lang/String;'
  66. [62] CONSTANT_Utf8            length =   2 'c2'
  67. [63] CONSTANT_Utf8            length =   2 'c1'
  68. [64] CONSTANT_Utf8            length =   4 'Code'
  69. [65] CONSTANT_Utf8            length =  14 'LocalVariables'
  70. [66] CONSTANT_Utf8            length =  18 'LocalVariableTable'
  71. [67] CONSTANT_Utf8            length =  15 'LMiscByteCodes;'
  72. [68] CONSTANT_Utf8            length =   2 's4'
  73. [69] CONSTANT_Utf8            length =   2 's2'
  74. [70] CONSTANT_Utf8            length =   2 's1'
  75. [71] CONSTANT_Utf8            length =  18 'myNonVirtualMethod'
  76. [72] CONSTANT_Utf8            length =  19 'java/io/PrintStream'
  77. [73] CONSTANT_Utf8            length =   2 'b4'
  78. [74] CONSTANT_Utf8            length =   2 'b3'
  79. [75] CONSTANT_Utf8            length =   2 'b2'
  80. [76] CONSTANT_Utf8            length =   2 'b1'
  81. [77] CONSTANT_Utf8            length =   6 '<init>'
  82. [78] CONSTANT_Utf8            length =   6 'myTest'
  83. [79] CONSTANT_Utf8            length =   8 'localVar'
  84. access_flags = x1
  85. this_class  = Class 'MiscByteCodes'
  86. super_class = Class 'java/applet/Applet'
  87. interfaces_count = 0
  88. fields_count = 1
  89. field[0]:
  90.         access_flags = x0
  91.         name_index =  'localVar'
  92.         signature_index =  'I'
  93.         attributes_count = 0
  94. methods_count = 4
  95. method[0]:
  96.         access_flags = x1
  97.         name_index = 'start'
  98.         signature_index = '()V'
  99.         attributes_count = 1
  100.         [0] attribute_name_index = 'Code' length = 94
  101.         max_stack 3
  102.         max_locals 2
  103.         code_length 34
  104.             0: aload_0            
  105.             1: invokevirtual             Methodref Class 'MiscByteCodes' NameAndType 'myTest' '()I'
  106.             4: istore_1            
  107.             5: getstatic             Fieldref Class 'java/lang/System' NameAndType 'out' 'Ljava/io/PrintStream;'
  108.             8: new                         Class 'java/lang/StringBuffer'
  109.            11: dup                        
  110.            12: invokenonvirtual             Methodref Class 'java/lang/StringBuffer' NameAndType '<init>' '()V'
  111.            15: ldc                         String 'Correct result is '                       17: invokevirtual             Methodref Class 'java/lang/StringBuffer' NameAndType 'append' '(Ljava/lang/String;)Ljava/lang/StringBuffer;'
  112.            20: iload_1            
  113.            21: invokestatic             Methodref Class 'java/lang/Integer' NameAndType 'toString' '(I)Ljava/lang/String;'
  114.            24: invokevirtual             Methodref Class 'java/lang/StringBuffer' NameAndType 'append' '(Ljava/lang/String;)Ljava/lang/StringBuffer;'
  115.            27: invokevirtual             Methodref Class 'java/lang/StringBuffer' NameAndType 'toString' '()Ljava/lang/String;'
  116.            30: invokevirtual             Methodref Class 'java/io/PrintStream' NameAndType 'println' '(Ljava/lang/String;)V'
  117.            33: return            
  118.         exception_table_length 0
  119.             attributes_count = 2
  120.             [0] attribute_name_index = 'LineNumberTable' length = 14
  121.             line_number_table_length 3
  122.                 [0] start_pc = 0, line_number = 12
  123.                 [1] start_pc = 5, line_number = 13
  124.                 [2] start_pc = 33, line_number = 10
  125.             [1] attribute_name_index = 'LocalVariableTable' length = 22
  126.             local_variable_table_length 2
  127.                 [0] start_pc = 0 length = 34 name_index = 42 signature_index = 67 slot = 0
  128.                 [1] start_pc = 5 length = 29 name_index = 59 signature_index = 54 slot = 1
  129. method[1]:
  130.         access_flags = x2
  131.         name_index = 'myNonVirtualMethod'
  132.         signature_index = '()I'
  133.         attributes_count = 1
  134.         [0] attribute_name_index = 'Code' length = 49
  135.         max_stack 2
  136.         max_locals 1
  137.         code_length 7
  138.             0: aload_0            
  139.             1: getfield             Fieldref Class 'MiscByteCodes' NameAndType 'localVar' 'I'
  140.             4: iconst_1            
  141.             5: iadd                        
  142.             6: ireturn            
  143.         exception_table_length 0
  144.             attributes_count = 2
  145.             [0] attribute_name_index = 'LineNumberTable' length = 6
  146.             line_number_table_length 1
  147.                 [0] start_pc = 0, line_number = 18
  148.             [1] attribute_name_index = 'LocalVariableTable' length = 12
  149.             local_variable_table_length 1
  150.                 [0] start_pc = 0 length = 7 name_index = 42 signature_index = 67 slot = 0
  151. method[2]:
  152.         access_flags = x1
  153.         name_index = 'myTest'
  154.         signature_index = '()I'
  155.         attributes_count = 1
  156.         [0] attribute_name_index = 'Code' length = 679
  157.         max_stack 2
  158.         max_locals 16
  159.         code_length 301
  160.             0: bipush             10
  161.             2: istore_2            
  162.             3: bipush             12
  163.             5: istore_3            
  164.             6: bipush             15
  165.             8: istore              4
  166.            10: bipush             20
  167.            12: istore              6
  168.            14: bipush             22
  169.            16: istore              7
  170.            18: bipush             19
  171.            20: istore              9
  172.            22: bipush             24
  173.            24: istore             10
  174.            26: bipush             30
  175.            28: istore             11
  176.            30: bipush            121
  177.            32: istore             15
  178.            34: iload_2            
  179.            35: iload_3            
  180.            36: iadd                        
  181.            37: istore              5
  182.            39: iload              5
  183.            41: iload              4
  184.            43: isub                        
  185.            44: istore              5
  186.            46: iload              5
  187.            48: iload_2            
  188.            49: imul                        
  189.            50: istore              5
  190.            52: iload              5
  191.            54: iconst_3            
  192.            55: idiv                        
  193.            56: istore              5
  194.            58: iload              5
  195.            60: bipush             17
  196.            62: irem                        
  197.            63: istore              5
  198.            65: iload              6
  199.            67: iload              7
  200.            69: iadd                        
  201.            70: int2short            
  202.            71: istore              8
  203.            73: iload              9
  204.            75: iload             10
  205.            77: iadd                        
  206.            78: iload             11
  207.            80: isub                        
  208.            81: int2byte            
  209.            82: istore             12
  210.            84: bipush            120
  211.            86: istore             13
  212.            88: iload             13
  213.            90: iload             15
  214.            92: if_icmpne            102
  215.            95: bipush            121
  216.            97: istore             14
  217.            99: goto                        106
  218.           102: bipush            110
  219.           104: istore             14
  220.           106: iload             13
  221.           108: iload             15
  222.           110: if_icmple            120
  223.           113: bipush            121
  224.           115: istore             14
  225.           117: goto                        124
  226.           120: bipush            110
  227.           122: istore             14
  228.           124: iload             13
  229.           126: iload             15
  230.           128: if_icmpge            138
  231.           131: bipush            121
  232.           133: istore             14
  233.           135: goto                        142
  234.           138: bipush            110
  235.           140: istore             14
  236.           142: iload             13
  237.           144: iload             15
  238.           146: if_icmpgt            156
  239.           149: bipush            121
  240.           151: istore             14
  241.           153: goto                        160
  242.           156: bipush            110
  243.           158: istore             14
  244.           160: iload             13
  245.           162: iload             15
  246.           164: if_icmplt            174
  247.           167: bipush            121
  248.           169: istore             14
  249.           171: goto                        178
  250.           174: bipush            110
  251.           176: istore             14
  252.           178: iload             13
  253.           180: iload             15
  254.           182: if_icmpeq            192
  255.           185: bipush            121
  256.           187: istore             14
  257.           189: goto                        196
  258.           192: bipush            110
  259.           194: istore             14
  260.           196: iload              5
  261.           198: iconst_2            
  262.           199: ishl                        
  263.           200: istore              5
  264.           202: iload              5
  265.           204: iconst_3            
  266.           205: ishr                        
  267.           206: istore              5
  268.           208: iload             12
  269.           210: iconst_2            
  270.           211: ishr                        
  271.           212: int2byte            
  272.           213: istore             12
  273.           215: iload              8
  274.           217: iconst_3            
  275.           218: ishl                        
  276.           219: int2short            
  277.           220: istore              8
  278.           222: iload              8
  279.           224: iconst_2            
  280.           225: ishr                        
  281.           226: int2short            
  282.           227: istore              8
  283.           229: iload              4
  284.           231: iload              5
  285.           233: iand                        
  286.           234: istore_3            
  287.           235: iinc                          3,  1
  288.           238: iload_3            
  289.           239: tableswitch            default=34 min=0 max=2
  290.              0: 25
  291.              1: 28
  292.              2: 31
  293.           264: iinc                          3,  1
  294.           267: iinc                          3,  2
  295.           270: iinc                          3,  4
  296.           273: iinc                          3,  8
  297.           276: aload_0            
  298.           277: iload_3            
  299.           278: putfield             Fieldref Class 'MiscByteCodes' NameAndType 'localVar' 'I'
  300.           281: iload_3            
  301.           282: aload_0            
  302.           283: invokenonvirtual             Methodref Class 'MiscByteCodes' NameAndType 'myNonVirtualMethod' '()I'
  303.           286: iadd                        
  304.           287: istore_3            
  305.           288: iload              5
  306.           290: iload             12
  307.           292: iadd                        
  308.           293: iload              8
  309.           295: iadd                        
  310.           296: iload_3            
  311.           297: iadd                        
  312.           298: istore_1            
  313.           299: iload_1            
  314.           300: ireturn            
  315.         exception_table_length 0
  316.             attributes_count = 2
  317.             [0] attribute_name_index = 'LineNumberTable' length = 182
  318.             line_number_table_length 45
  319.                 [0] start_pc = 0, line_number = 24
  320.                 [1] start_pc = 3, line_number = 25
  321.                 [2] start_pc = 6, line_number = 26
  322.                 [3] start_pc = 10, line_number = 28
  323.                 [4] start_pc = 14, line_number = 29
  324.                 [5] start_pc = 18, line_number = 33
  325.                 [6] start_pc = 22, line_number = 34
  326.                 [7] start_pc = 26, line_number = 35
  327.                 [8] start_pc = 30, line_number = 38
  328.                 [9] start_pc = 34, line_number = 41
  329.                 [10] start_pc = 39, line_number = 42
  330.                 [11] start_pc = 46, line_number = 43
  331.                 [12] start_pc = 52, line_number = 44
  332.                 [13] start_pc = 58, line_number = 45
  333.                 [14] start_pc = 65, line_number = 47
  334.                 [15] start_pc = 73, line_number = 49
  335.                 [16] start_pc = 84, line_number = 51
  336.                 [17] start_pc = 88, line_number = 52
  337.                 [18] start_pc = 102, line_number = 53
  338.                 [19] start_pc = 106, line_number = 54
  339.                 [20] start_pc = 120, line_number = 55
  340.                 [21] start_pc = 124, line_number = 56
  341.                 [22] start_pc = 138, line_number = 57
  342.                 [23] start_pc = 142, line_number = 58
  343.                 [24] start_pc = 156, line_number = 59
  344.                 [25] start_pc = 160, line_number = 60
  345.                 [26] start_pc = 174, line_number = 61
  346.                 [27] start_pc = 178, line_number = 62
  347.                 [28] start_pc = 192, line_number = 63
  348.                 [29] start_pc = 196, line_number = 65
  349.                 [30] start_pc = 202, line_number = 66
  350.                 [31] start_pc = 208, line_number = 67
  351.                 [32] start_pc = 215, line_number = 68
  352.                 [33] start_pc = 222, line_number = 69
  353.                 [34] start_pc = 229, line_number = 71
  354.                 [35] start_pc = 235, line_number = 72
  355.                 [36] start_pc = 238, line_number = 74
  356.                 [37] start_pc = 264, line_number = 75
  357.                 [38] start_pc = 267, line_number = 76
  358.                 [39] start_pc = 270, line_number = 77
  359.                 [40] start_pc = 273, line_number = 78
  360.                 [41] start_pc = 276, line_number = 81
  361.                 [42] start_pc = 281, line_number = 82
  362.                 [43] start_pc = 288, line_number = 84
  363.                 [44] start_pc = 299, line_number = 86
  364.             [1] attribute_name_index = 'LocalVariableTable' length = 172
  365.             local_variable_table_length 17
  366.                 [0] start_pc = 0 length = 301 name_index = 42 signature_index = 67 slot = 0
  367.                 [1] start_pc = 39 length = 262 name_index = 49 signature_index = 54 slot = 5
  368.                 [2] start_pc = 3 length = 298 name_index = 52 signature_index = 54 slot = 2
  369.                 [3] start_pc = 6 length = 295 name_index = 51 signature_index = 54 slot = 3
  370.                 [4] start_pc = 10 length = 291 name_index = 50 signature_index = 54 slot = 4
  371.                 [5] start_pc = 14 length = 287 name_index = 70 signature_index = 48 slot = 6
  372.                 [6] start_pc = 18 length = 283 name_index = 69 signature_index = 48 slot = 7
  373.                 [7] start_pc = 73 length = 228 name_index = 68 signature_index = 48 slot = 8
  374.                 [8] start_pc = 22 length = 279 name_index = 76 signature_index = 58 slot = 9
  375.                 [9] start_pc = 26 length = 275 name_index = 75 signature_index = 58 slot = 10
  376.                 [10] start_pc = 30 length = 271 name_index = 74 signature_index = 58 slot = 11
  377.                 [11] start_pc = 84 length = 217 name_index = 73 signature_index = 58 slot = 12
  378.                 [12] start_pc = 88 length = 213 name_index = 63 signature_index = 57 slot = 13
  379.                 [13] start_pc = 99 length = 3 name_index = 60 signature_index = 57 slot = 14
  380.                 [14] start_pc = 34 length = 267 name_index = 62 signature_index = 57 slot = 15
  381.                 [15] start_pc = 106 length = 195 name_index = 60 signature_index = 57 slot = 14
  382.                 [16] start_pc = 299 length = 2 name_index = 37 signature_index = 54 slot = 1
  383. method[3]:
  384.         access_flags = x1
  385.         name_index = '<init>'
  386.         signature_index = '()V'
  387.         attributes_count = 1
  388.         [0] attribute_name_index = 'Code' length = 47
  389.         max_stack 1
  390.         max_locals 1
  391.         code_length 5
  392.             0: aload_0            
  393.             1: invokenonvirtual             Methodref Class 'java/applet/Applet' NameAndType '<init>' '()V'
  394.             4: return            
  395.         exception_table_length 0
  396.             attributes_count = 2
  397.             [0] attribute_name_index = 'LineNumberTable' length = 6
  398.             line_number_table_length 1
  399.                 [0] start_pc = 0, line_number = 5
  400.             [1] attribute_name_index = 'LocalVariableTable' length = 12
  401.             local_variable_table_length 1
  402.                 [0] start_pc = 0 length = 5 name_index = 42 signature_index = 67 slot = 0
  403.     attributes_count = 1
  404.     [0] attribute_name_index = 'SourceFile' length = 2
  405.     sourcefile_index =  'MiscByteCodes.java'
  406.